﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" codefile="Default4.vb" Inherits="NVPortal.Modules.NVNews.SpecialDefault4" %>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
    <tr>
        <td style="vertical-align: top; text-align: justify; padding-left: 5px;">
        <asp:DataList RepeatColumns="5" ID="drgOtherNews" runat="server" CssClass="spc4m" RepeatDirection="Horizontal" Width="180px">
            <ItemTemplate>
                <asp:HyperLink id="hpltimg" runat="server" NavigateUrl='<%# FormatURL(DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>'>
                    <asp:Image style="padding: 2px; margin-right: 4px; border: solid 1px #ddd;" BorderWidth="1" ID="imgNews" runat="server" Width="183" Height="90px" ImageUrl ='<%# iif(DataBinder.Eval(Container, "DataItem.imagepath").tostring().Contains("http://"),DataBinder.Eval(Container, "DataItem.imagepath"), DataBinder.Eval(Container, "DataItem.imagepath")) %>' />
                </asp:HyperLink>
            <span class="spc4_sTitle"><asp:HyperLink CssClass="spc4_Title" id="hplOtherNews" runat="server" ToolTip='<%# Server.HtmlDecode(DataBinder.Eval(Container.DataItem,"summary"))%>' NavigateUrl='<%# FormatURL(DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>' text='<%# DataBinder.Eval(Container.DataItem,"title")%>'></asp:HyperLink></span>
            <span class="spc4_ssumary"><asp:label CssClass="spc4_sumary" id="lblSumary" runat="server" text='<%# DataBinder.Eval(Container.DataItem,"summary")%>'></asp:label></span>
            </ItemTemplate>
        </asp:DataList>
        </td>
    </tr>
</table>